package samples.d2.shapes 
{
	import flash.filters.GlowFilter;
	import flash.geom.Point;
	import flash.geom.Rectangle;
	import samples.BaseSample;
	import shapes.shapes2D.Circle;
	import shapes.shapes2D.distribution.Grid;
	import shapes.shapes2D.distribution.Hexagonal;
	import shapes.shapes2D.Dot;
	
	/**
	 * ...
	 * @author Nicolas Barradeau
	 * http://en.nicoptere.net
	 */
	public class Circle7 extends BaseSample
	{
		private var c:Circle;
		
		public function Circle7() 
		{
			
			
			graphics.lineStyle( 0, color );
			
			var angle:Number;
			var total:int = 100;
			var i:int = total;
			while( i-- )
			{
				
				angle = ( Math.PI * 4 / total ) * i
				c = new Circle( sw / 2, sh / 2 + Math.sin( angle ) * 50, i * 2.5 );
				c.draw( graphics );
				
			}
			
			
		}
		
	}

}